#include <stdio.h>
#include <string.h>
#include <unistd.h>

int main()
{
    const char* msg = "Hello fwrite\n";
    const char* msg1 = "Hello write\n";
    
    //库函数
    printf("Hello printf\n");
    fprintf(stdout,"Hello fprintf\n");
    fwrite(msg,strlen(msg),1,stdout);

    //系统调用
    write(1,msg1,strlen(msg1));

    //创建子进程
    fork();
    return 0;
}
